def demo1():
    num = int(input("请输入一个整数"))
    return num


def demo2():
    print(demo1())


if __name__ == '__main__':
    try:
        demo2()
    except Exception as e:
        print(f"异常问题为:{e}")
